package com.hh.demo_ui;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TabHost;

import com.hh.ui.UiUtility;

public class Sample_TabHost extends Activity {

	private TabHost _mTabHost;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.sample_tabhost);

		_mTabHost = (TabHost)findViewById(android.R.id.tabhost);
		
		_mTabHost.setup();
		
		UiUtility.setupTabHostTab(this, _mTabHost, R.id.tab_1, "Tab 1");
		UiUtility.setupTabHostTab(this, _mTabHost, R.id.tab_2, "Tab 2");
		
	}

}
